Problem Note 44699: TITLE statement incorrectly acting as a step boundary and resetting &SYSERR value
When running SAS interactively in the windowing environment the TITLE statement incorrectly acts as a step boundary and resets the &SYSERR value. This problem does not occur when running in batch mode.
In the following example program a warning message is produced in the first DATA step and sets &SYSERR=4. The &SYSERR value should be reset to 0 (zero) only at a step boundary. The TITLE statement should have no effect on the &SYSERR value but it is causing &SYSERR to be reset to 0.
/*The following DATA step produces a*/
/*warning message and sets &SYSERR=4*/
data test;
x="abc";
length x $ 4;
run;
/*The %PUT displays &SYSERR value of 4*/
%put &syserr;
/*The TITLE statement incorrectly acts as a*/
/*step boundary resetting the &SYSERR value*/
title 'this is the title';
/*The %PUT shows &SYSERR was reset to 0*/
%put &syserr;
This problem will be fixed in a future SAS release.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.21 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.21 | 9.4 | | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 9.21 | | | |
Windows 7 Home Premium x64 | 9.21 | | | |
Windows 7 Professional 32 bit | 9.21 | | | |
Windows 7 Professional x64 | 9.21 | | | |
Windows Vista | 9.21 | 9.4 | | 9.4 TS1M0 |
Windows Vista for x64 | 9.21 | 9.4 | | 9.4 TS1M0 |
64-bit Enabled AIX | 9.21 | 9.4 | | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.21 | 9.4 | | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.21 | 9.4 | | 9.4 TS1M0 |
HP-UX IPF | 9.21 | 9.4 | | 9.4 TS1M0 |
Linux | 9.21 | 9.4 | | 9.4 TS1M0 |
Linux for x64 | 9.21 | 9.4 | | 9.4 TS1M0 |
OpenVMS on HP Integrity | 9.21 | 9.4 | | 9.4 TS1M0 |
Solaris for x64 | 9.21 | 9.4 | | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Topic: | SAS Reference ==> DATA Step SAS Reference ==> Macro SAS Reference ==> Statements ==> Output Control ==> TITLE
|
Date Modified: | 2011-12-20 08:19:18 |
Date Created: | 2011-10-21 14:06:22 |